home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / zip.zip / CRYPT.H < prev    next >
C/C++ Source or Header  |  1992-09-22  |  1KB  |  39 lines

  1. /*
  2.  
  3.  Copyright (C) 1990,1991 Mark Adler, Richard B. Wales, and Jean-loup Gailly.
  4.  Permission is granted to any individual or institution to use, copy, or
  5.  redistribute this software so long as all of the original files are included
  6.  unmodified, that it is not sold for profit, and that this copyright notice
  7.  is retained.
  8.  
  9. */
  10.  
  11. /*
  12.  *  crypt.h by Mark Adler.
  13.  */
  14.  
  15. /* Set up portability */
  16. #include "tailor.h"
  17.  
  18. /* Define zfwrite() and zputc() functions */
  19. #ifdef EXPORT
  20. #  define zfwrite fwrite
  21. #  define zputc putc
  22. #else /* !EXPORT */
  23.    extern int zfwrite OF((voidp *, extent, extent, FILE *));
  24.    extern int zfputc OF((int, FILE *));
  25.    extern char *key;
  26. #  define zputc(b,f) (key!=NULL?zfputc(b,f):putc(b,f))
  27. #endif /* ?EXPORT */
  28.  
  29. /* The implode routines now use the same temporary name generator */
  30. char *tempname OF((int));
  31.  
  32. /* I'm sneaking this in on Rich's code to make my compiler a bit happier */
  33. #ifdef NeXT
  34.    extern void free(voidp *);
  35.    extern voidp *qsort(voidp *, extent, extent, int (*)());
  36.    extern extent strlen(char *);
  37.    extern int unlink(char *);
  38. #endif /* NeXT */
  39.